package com.dykj.fireFighting.api.base.dev.service;

import com.dykj.fireFighting.api.base.dev.entity.DevHisWater;
import com.dykj.fireFighting.api.base.dev.entity.DevHisWaterZc;
import com.dykj.fireFighting.common.core.service.IBaseService;

import java.util.List;

/**
 * 消防水系统设备运行记录
 *
 * @Author LIJIANJIE
 * @Date  2021-07-12 15:09:48
 */
public interface IDevHisWaterService extends IBaseService<DevHisWater> {

    int getWaterNum(String id);

    int getCurrentWaterNum(String id);

    int getUpWater(String s);

    int getCenterWaterNum(List<String> ids,String beginTime, String endTime);

    int getCenterCurrentWater(List<String> ids);

    int getCenterUpWater(List<String> ids);

    DevHisWater getWaterLimit(String relationId);

    int getWaterByTime(String id, String beginTime, String endTime, String tableName);

    void updateWater(DevHisWaterZc devHisWaterZc,String tableName);
}

